#ifndef SELECTORLISTIMPLE_INCLUDE_XAIRY
#define SELECTORLISTIMPLE_INCLUDE_XAIRY

#include "SelectorList.h"
#include <vector>
using std::vector;

class Selector;

class SelectorListImpl : public SelectorList
{
public:
	virtual int getLength()const;
	virtual Selector& item(int index)const;

	void setSelectors(const vector<Selector*>& aSelectors);
	void add(const Selector& aSelector);

	inline const vector<Selector*>& getSelectors()const
	{
		return m_selectors;
	}

public:
	SelectorListImpl();
	virtual ~SelectorListImpl();

	void ClearVector();

private:
	vector<Selector*> m_selectors;
};

#endif
